<%@ page contentType="text/html; charset=utf-8" language="java" isELIgnored="false"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<link rel="shortcut icon" href="${pageContext.request.contextPath}/images/dan.ico"></link>
<%
    String path = request.getContextPath();
%>
<script>
    function logout(){
        Server.sendRequest("Framework.logout",null);
        top.location = Server.ContextPath+"main.action";
    }
    function addinputmessage()
    {
        window.showModalDialog("<%=request.getContextPath()%>/message/addInput.action",null,"dialogWidth=700px;dialogHeight=550px;dialogLeft=300px;dialogTop=300px;scroll:no;center:Yes;help:no;resizable:no;status:no;") 
    }
</script>
<div class="page">  
    <!--网站头部开始-->
    <div class="top">
        <div class="top_top">
            <ul>
                <li class="top_top_li1"><span>您好！<s:property value="#session.user.truename"/>欢迎来到商务部单证数据库系统</span>
                    <s:if test="#session.user==null">
                        <a href="${pageContext.request.contextPath}/register.action">注册</a>
                    </s:if>
                </li>
                <li class="top_top_li2"><a href="#">会员服务</a> | <a href="#" onclick="addinputmessage();">用户留言</a> | <a href="#">联系我们</a> </li>
            </ul>
        </div>
        <div class="top_logo"><span><img src="${pageContext.request.contextPath}/images/top_logo.jpg"/></span> </div>
        <div class="top_link">
            <ul>
<!--                <li><a href="${pageContext.request.contextPath}/main.action" class="top_link_a1">首  页</a></li>-->
                <li><a href="${pageContext.request.contextPath}/document/findlist.action" class="top_link_a2">单证检索</a></li>
                <li><a href="#" class="top_link_a2">单证格式</a></li>
<!--                <li><a href="${pageContext.request.contextPath}/documentCase/findlist.action"  class="top_link_a2">业务案例</a></li>
                <li><a href="${pageContext.request.contextPath}/knowledge/findlist.action" class="top_link_a2">知识检索</a></li>-->
            </ul>
        </div>
    </div>
</div>
